/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.worldscale.xp.wslib.net.tls;

import java.io.InputStream;
import java.io.OutputStream;

/**
 *
 * @author Kun
 */
public abstract class TLS {

    public static TLS start(InputStream is, OutputStream os) {
        final ImplTLS tls = new ImplTLS(is, os);
        tls.init();
        return tls;
    }

    public abstract InputStream getInputStream();

    public abstract OutputStream getOutputStream();
}
